From: Kenichi Handa Date: Fri, 27 Mar 2009 07:25:44 +0000 (+0000) Subject: (Fdetect_coding_region, Fcoding_system_priority_list): Improve the X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~1077 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b8047c3f5515616024ac1aea0da5b45b57e06c96;p=emacs.git (Fdetect_coding_region, Fcoding_system_priority_list): Improve the docstrings. --- diff --git a/src/coding.c b/src/coding.c index 8d5304dc114..5f72c69c859 100644 --- a/src/coding.c +++ b/src/coding.c @@ -8518,6 +8518,8 @@ DEFUN ("detect-coding-region", Fdetect_coding_region, Sdetect_coding_region, 2, 3, 0, doc: /* Detect coding system of the text in the region between START and END. Return a list of possible coding systems ordered by priority. +The coding systems to try and their priorities follows what +the function `coding-system-priority-list' (which see) returns. If only ASCII characters are found (except for such ISO-2022 control characters as ESC), it returns a list of single element `undecided' @@ -9552,6 +9554,9 @@ usage: (set-coding-system-priority &rest coding-systems) */) DEFUN ("coding-system-priority-list", Fcoding_system_priority_list, Scoding_system_priority_list, 0, 1, 0, doc: /* Return a list of coding systems ordered by their priorities. +The list contains a subset of coding systems; i.e. coding systems +assigned to each coding category (see `coding-category-list'). + HIGHESTP non-nil means just return the highest priority one. */) (highestp) Lisp_Object highestp;